package com.tsxy.mall.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface BookPictureRelationMapper {

    @Select({"select localName from book_picture_relation where book_id = #{bookId}"})
    List<String> selectLocalNameByBookId(@Param("bookId") Integer bookId);
}
